
package com.tmall.testgen.client.runinspring.push.jmx;

import java.io.Serializable;



public interface ComputeMBean  extends Serializable{
	
	/**
	 * 初始化环境
	 * @param targetProjectClassPathes
	 * @param  hsfPath:到sar目录，如：D:\aliwork\conf\hsf\1.8.0.8\taobao-hsf.sar
	 * @param configPath
	 */
	public InitApplicationContextResult initApplicationContext( String configPath,Boolean isUseHsf,String hsfPath) ;
	
	/**
	 * 计算
	 * @param clazz
	 * @param methodName
	 * @param paramStrs
	 * @return
	 */
	public ComputeResult compute(String clazz, String methodName,Class[] paramTypes, String[] paramStrs);
	
	/**
	 * 停止服务
	 */
	public void stopService() ;
}
